package com.forenow.demo.demo16;

public class graduate implements studentinterface,teacherinterface {
    String name;
    String sex;
    int age;
    int fee;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    int pay;

    @Override
    public void setFee(int fee) {
        this.fee=fee;
    }

    @Override
    public int getFee() {
        return this.fee;
    }

    @Override
    public void setPay(int pay) {
        this.pay=pay;
    }

    @Override
    public int getPay() {
        return this.pay;
    }
}
